﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SoccerSimulator5000
{
    public class Sponsor
    {
        public string name { get; set; }
        public int duration { get; set; }
        public int payoutAmmount { get; set; }
        public int signBonus { get; set; }
        public string displayMember { get; set; }
        private int lastPayout;

        public Sponsor()
        {
            name = "Generic";
            duration = 0;
            payoutAmmount = 0;
            signBonus = 0;
            lastPayout = 0;
            displayMember = "Name: " + name + " Payout: " + payoutAmmount + " Sign Bonus: " + signBonus;
        }

        public Sponsor(int dur, int pa, int sb)
        {
            name = "Generic";
            duration = dur;
            payoutAmmount = pa;
            signBonus = sb;
            lastPayout = 0;
            displayMember = "Name: " + name + " Payout: " + payoutAmmount + " Sign Bonus: " + signBonus;
        }

        public int Payout()
        {
            lastPayout = Game.date.currentIncrement;
            return payoutAmmount;
        }


    }
}
